package com.originit.product.server.service.impl

import com.originit.product.ProductApplicationTests
import com.originit.product.server.service.CategoryService
import org.junit.jupiter.api.Test

import org.junit.jupiter.api.Assertions.*
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Component

@Component
internal class CategoryServiceImplTest: ProductApplicationTests() {

    @Autowired
    lateinit var service: CategoryService

    @Test
    fun findByTypeIn() {
        assertTrue(service.findByTypeIn(listOf(11,12)).size == 1)
    }
}